The Matching Algorithm - Advanced Example